package com.test.mylotterysystem.comment.errorCode;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
public enum ControllerErrorCode implements ErrorCode {
    TRANS_IS_ERROR(600,"数据转换发生异常");

    private Integer code;
    private String errorMsg;

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getErrorMsg() {
        return errorMsg;
    }
}
